package com.ruoyi.insurance.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网络安全事件对象 web_safe_incident
 * 
 * @author ruoyi
 * @date 2024-08-16
 */
public class WebSafeIncident extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 事件ID */
    @Excel(name = "事件ID")
    private Integer incidentId;

    /** 保单号 */
    @Excel(name = "保单号")
    private String contractNumber;

    /** 事件简述 */
    @Excel(name = "事件简述")
    private String resumeIncident;

    /** 事件日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "事件日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date incidentDate;

    /** 事件状态 */
    @Excel(name = "事件状态")
    private Integer incidentState;

    /** 事件影响 */
    @Excel(name = "事件影响")
    private String incidentImpact;

    public void setIncidentId(Integer incidentId) 
    {
        this.incidentId = incidentId;
    }

    public Integer getIncidentId() 
    {
        return incidentId;
    }
    public void setContractNumber(String contractNumber) 
    {
        this.contractNumber = contractNumber;
    }

    public String getContractNumber() 
    {
        return contractNumber;
    }
    public void setResumeIncident(String resumeIncident) 
    {
        this.resumeIncident = resumeIncident;
    }

    public String getResumeIncident() 
    {
        return resumeIncident;
    }
    public void setIncidentDate(Date incidentDate) 
    {
        this.incidentDate = incidentDate;
    }

    public Date getIncidentDate() 
    {
        return incidentDate;
    }
    public void setIncidentState(Integer incidentState) 
    {
        this.incidentState = incidentState;
    }

    public Integer getIncidentState() 
    {
        return incidentState;
    }
    public void setIncidentImpact(String incidentImpact) 
    {
        this.incidentImpact = incidentImpact;
    }

    public String getIncidentImpact() 
    {
        return incidentImpact;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("incidentId", getIncidentId())
            .append("contractNumber", getContractNumber())
            .append("resumeIncident", getResumeIncident())
            .append("incidentDate", getIncidentDate())
            .append("incidentState", getIncidentState())
            .append("incidentImpact", getIncidentImpact())
            .toString();
    }
}
